var LGDSObject = Class.create({
  initialize: function (type, id, name, desc) {
    // Incode name (image name based on it)
    this.type = type;
    this.id = id;
    // In game object name
    this.name = name;
    this.desc = desc;
    // LGDSElement
    var imgUrl = BASE_URL_IMG+type+'/'+type+'-'+id+'.png';
    this.visual = new LGDSElement(imgUrl);
  },
  setPos: function (x, y, z) {
    this.visual.setPos(x, y, z);
  },
  getVisual: function () {
    return this.visual.get();
  }
  // WARNING Maybe to do later...
  /*
  attachVisual: function () {
    this.visual = new LGDSElement(className+'.png');
  }
  detachVisual: ...
  */
  // TODO
  // onMouseOver show info
});